from django.urls import path
from app01.views import account,wiki

# *** 命名控件需要指定APP的名字
app_name = 'app01'

urlpatterns = [
    path('register/', account.register, name='register'),
    path('code/', account.get_code, name='code'),
    path('index/', account.index, name='index'),
    path('login/', account.login, name='login'),
    path('home/', account.home, name='home'),
    path('logout/', account.logout, name='logout'),
    path('wiki/', wiki.wiki, name='wiki'),
    path('wiki/add/', wiki.wiki_add, name='wiki_add'),
]
